﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.Xna.Framework.Input;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.GamerServices;
using ERF;

namespace ERF.Input
{
    public interface IInputHandler
    {
        void AssignButton(String command, AssignedButton button);
        void AssignDevice(String command, AnalogDevice device);
        
        bool IsButtonDown(String command, GameTime gameTime, bool acceptRepeat);
        bool IsButtonDown(String command, GameTime gameTime);
        bool IsButtonReleased(String command);
        Vector2 GetDeviceLocation(String device);
    }
}
